<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>URL Redirector</title>
  <link rel="stylesheet" href="popup.css">
</head>
<body>
  <div class="container">
    <h1>URL重定向管理器</h1>
    
    <div class="input-group">
      <input type="text" id="originalUrl" placeholder="原始URL (支持正则表达式)" required>
      <input type="text" id="targetUrl" placeholder="目标URL" required>
      <button id="addMapping">添加映射</button>
    </div>
    
    <div class="mapping-list">
      <h2>当前URL映射</h2>
      <div id="mappingsContainer">加载中...</div>
    </div>
  </div>
  
  <script src="popup.js"></script>
</body>
</html>